<div>
    <nz-input-group [nzSuffix]="suffixIcon">
        <input type="text" nz-input placeholder="Search" [(ngModel)]="searchValue" />
      </nz-input-group>
      <ng-template #suffixIcon>
        <i nz-icon nzType="search"></i>
      </ng-template>
      <nz-card style="height: 600px;overflow: auto;">
        <nz-spin  [nzSpinning]="isLoading">
        <nz-tree
          #tree
         [nzData]="houseList" 
         [nzSearchValue]="searchValue" 
         nzCheckable
         nzMultiple 
         nzAsyncData 
         [nzShowExpand]=false
         [nzHideUnMatched]="true"
         (nzClick)="selectChage($event)"
         [nzCheckedKeys]="defaultCheckedKeys"
         > </nz-tree>
        </nz-spin>
      </nz-card>
    
      <nz-form-item style="text-align: center;margin-top: 20px;margin-bottom: 0;">
          <nz-form-control [nzOffset]="7" [nzSpan]="12">
            <button nz-button nzType="primary" (click)="formSubmit()">提交</button>
            <button nz-button (click)="resetForm($event)">取消</button>
          </nz-form-control>
      </nz-form-item>
</div>

